import 'package:flutter/material.dart';
import 'package:flutter/services.dart';


class ContainerPage extends StatelessWidget {
  final SystemUiOverlayStyle _style = SystemUiOverlayStyle(statusBarColor: Colors.transparent);
  @override
  Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(_style);
    // TODO: implement build
    return MaterialApp(
      home: ContainerWidget(),
      theme: ThemeData(primarySwatch: Colors.yellow),
    );
  }
}

class ContainerWidget extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return _ContainerPage();
  }
}

class _ContainerPage extends State<StatefulWidget> {

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text("Container Page"),
      ),
      body: Container(
        width: 300,
        height: 200,
        margin: EdgeInsets.all(20),
        padding: EdgeInsets.fromLTRB(50, 0, 0, 0),
        color: Colors.blue,
        alignment: Alignment.center,
        child: Text("Container"),
      ),
    );
  }
}